package com.itheima.day02.ZuoYe.ZuoYe_6;

public abstract class Father {
    private String ID;
    private String name;
    private int age;
    public abstract void neirong();

    public void notice(){
        System.out.println("通知：");
        neirong();
        System.out.println("       必胜环球科技有限公司");
    }
    @Override
    public String toString() {
        return "Father{" +
                "ID='" + ID + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public Father() {
    }

    public Father(String ID, String name, int age) {
        this.ID = ID;
        this.name = name;
        this.age = age;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
